package com.yf1706.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.yf1706.comm.RowMapper;

public class storeRowMapper implements RowMapper<storebean>{

	@Override
	public storebean mapper(ResultSet rs) throws SQLException {
		storebean store=new storebean();
		store.setSid(rs.getInt("sid"));
		store.setGid(rs.getInt("gid"));
		store.setGnum(rs.getString("gnum"));		
		return store;
	}

}

